﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
           <h1>注册页面</h1>
            
            用户名：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            密&nbsp; 码： <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
            <br />
            性  别： <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem Value="male">男</asp:ListItem>
                <asp:ListItem Value="female">女</asp:ListItem>
            </asp:DropDownList>
            <br />
            爱  好： <asp:CheckBoxList ID="CheckBoxList1" runat="server">
                <asp:ListItem Value="Singing">唱歌</asp:ListItem>
                <asp:ListItem Value="Dancing">跳舞</asp:ListItem>
                <asp:ListItem Value="Listening">听歌</asp:ListItem>
            </asp:CheckBoxList>
            <br />
&nbsp;
            省:&nbsp; <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged">
            </asp:DropDownList>
            <br />
&nbsp;
            市:&nbsp; <asp:DropDownList ID="DropDownList3" runat="server">
            </asp:DropDownList>
            <br />
            头像：&nbsp; <asp:FileUpload ID="FileUpload1" runat="server" />
              <asp:Button ID="Button1" runat="server" Text="上传" OnClick="Button1_Click" style="height: 21px" />
            <asp:Image ID="Image1" runat="server" />
            <br />
            其他信息：<asp:TextBox ID="TextBox3" runat="server" TextMode="MultiLine" Height="67px" Width="159px"></asp:TextBox>
            <br />
            <asp:Button ID="Button2" runat="server" Text="提交" OnClick="Button2_Click" />
            <br />
            <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
        </div>
    </form>
</body>
</html>
